#ifndef HR_H
#define HR_H

#include <QWidget>
#include <QTcpSocket>
#include <QNetworkProxy>
#include <QPalette>

namespace Ui {
class HR;
}

class HR : public QWidget
{
    Q_OBJECT
private:
    QTcpSocket* socket;
public:
    explicit HR(QWidget *parent = nullptr);
    ~HR();
public:
    void set_socket(QTcpSocket* socket);
private slots:
    void on_add_btn_clicked();

    void on_query_btn_clicked();

    void on_selectstaff_btn_clicked();

    void my_clear_text_slot();
    void on_back_btn_clicked();

private:
    Ui::HR *ui;
signals:
    void my_add_signal();
    void my_clear_text_signal();

    void my_back_to_widget_signal();
};

#endif // HR_H
